package com.lening.community.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @ToDo:
 * @Author：潘万法
 * @date: 2024/6/3 16:23
 */
@TableName("garage")
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "车库管理", description = "")
public class Garage implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "gid", type = IdType.AUTO)
    private Long gid;               //车库序号
    //private String communityName;   //社区名称
    private Long communityId;       //所属社区 外键
    private String garageName;      //车库名称
    private String garageArea;     //车库区域
    private String remarks;        //备注
    private Long deleteId;            //1删除   0未删
}
